package common;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * minio 配置信息
 *
 * @author lengleng
 */
@Data
@SuppressWarnings("ConfigurationProperties")
@ConfigurationProperties(prefix = "ftp")
public class FtpProperties {

    private  String host;
    private  String username;
    private  String password;
    private  int port;
    /**服务器的绝对路径   ftpClient.changeWorkingDirectory() 不设置部署到服务器是上传不成功的，这个问题搞了好久才发现烦躁······**/
    private  String workingDirectory;


}
